﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZH.Infrastructure.Attr;
using ZH.Infrastructure.Dto.Request.Login;
using ZH.Infrastructure.Dto.Request.Tech;
using ZH.Infrastructure.Dto.Request.Yuyue;
using ZH.Infrastructure.Dto.Response;
using ZH.Infrastructure.Dto.Response.admin;
using ZH.Infrastructure.Dto.Response.Article;
using ZH.Infrastructure.EFCore.MySql;

namespace ZH.Service.Interface
{
    [Provider_]
    public interface I_Article_Service
    {
 

        /// <summary>
        /// 获取文章
        /// </summary>
        /// <returns></returns>
        Task<Api_Response_Dto> Get_article(int? page, int? limit, string? key);
        Task<Api_Response_Dto> update_art(Article_Response_Dto dto);
        Task<Api_Response_Dto> Add_art(Article_Response_Dto dto);
        Task<Api_Response_Dto> delete_art(string id);
    }
}
